import { Layout } from '@fl/utils/routerHelper'

const bidding: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/operations-pages/bidding/announcement/index.vue'),
            meta: {
                title: '招投标公告',
            },
            name: 'announcement',
            path: 'announcement',
        },
        {
            component: () => import('@/operations-pages/bidding/announcement/form.vue'),
            meta: {
                activeMenu: '/operations-pages/bidding/announcement',
                hidden: true,
                title: '公告',
            },
            name: 'announcement-add',
            path: 'announcement-add',
        },
        {
            component: () => import('@/operations-pages/bidding/announcement/view.vue'),
            meta: {
                activeMenu: '/operations-pages/bidding/announcement',
                hidden: true,
                title: '公告预览',
            },
            name: 'announcement-view',
            path: 'announcement-view',
        },
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        title: '招投标',
    },
    name: 'bidding',
    path: 'bidding',
}

export default bidding
